#ifndef WIDGET_H
#define WIDGET_H
#include "game.h"
#include "multi.h"
#include "single.h"
#include "bid.h"
#include <QWidget>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
    single *s;
    game *g;
    multi *m;
private slots:
    /*!
     * \brief on_btnJoin_clicked shows the multi.ui window
     */
    void on_btnJoin_clicked();
    /*!
     * \brief on_btnQuit_clicked exits the entire program
     */
    void on_btnQuit_clicked();

private:
    Ui::Widget *ui;

    QThread *rootServerThread;

public slots:
    void show_game();
    void show_g();
    void show_widgem();
    void show_widges();
    void show_widgeg();
};

#endif // WIDGET_H
